package org.hamster.multidropbox.main.services
{
	import mx.resources.ResourceManager;
	
	import org.hamster.common.utils.CommonUtil;

	public class EmbedImageService
	{
		[Embed(source='/images/text/scrollHere_en_US.png')]
		private static var SCROLL_HERE_EN_US:Class;
		
		[Bindable] public var SCROLL_HERE:Class;
		
		private static var _instance:EmbedImageService;
		public static function get instance():EmbedImageService
		{
			if (!_instance) {
				_instance = new EmbedImageService();
			}
			return _instance;
		}
		
		public function EmbedImageService()
		{
			var localeChain:Array = ResourceManager.getInstance().localeChain;
			if (localeChain == null || localeChain.length == 0) {
				SCROLL_HERE = SCROLL_HERE_EN_US;
			} else {
				switch (localeChain[0]) {
					case "en_US":
						SCROLL_HERE = SCROLL_HERE_EN_US;
				}
			}
		}
	}
}